Repeating this here incase you don't see it in the software.

Remember to change the board type in Tools -> Board in the Arduino IDE
depending on what type of board you are using.

VERY IMPORTANT: IF USING ARDUINO MEGA
The Arduino Mega has a different set of SPI pins than the Arudino Uno, which means they need to be connected
in parallel with jumper wires before the program will work. You'll be presented with this error message if not:

Can't access SD card. Do not reformat.
No card, wrong chip select pin, or SPI problem?
 SD errorCode: 0X1,0XFF
 
The pin connections are as follows:
Pin    Uno   Mega
MOSI   11    51
MISO   12    50
SCK    13    52

So just connect the pins on the left to the ones on the right as stated above and everything should work OK.
